package com.lantosec.hmrp.core.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @author 杨成宇
 * @version 1.0
 */
@Configuration
@ConfigurationProperties(prefix = "app.web")
@PropertySource(value = { "classpath:config/app.yml" })
@Data
public class Info {
    @Value("${printRequestHeader}")
    private Boolean printRequestHeader;

    @Value("${printRequestParameter}")
    private Boolean printRequestParameter;

    @Value("${printRequestBody}")
    private Boolean printRequestBody;
}
